import request from '@/utils/request'

// api地址
const api = {
  data: 'setting/data',
  getNoticePlatform: 'setting/getNoticePlatform',
  getNotice: 'setting/getNotice'
}

// 设置项详情
export function data() {
  return request.get(api.data)
}

// 获取提现信息
export const getNotice = param => {
  return request.get(api.getNotice, param)
}

// 获取平台提醒
export const getNoticePlatform = param => {
  return request.get(api.getNoticePlatform, param)
}
